package com.medical.admin.hospital.service;

import com.medical.admin.hospital.common.dto.DepartmentDto;
import com.medical.admin.hospital.common.vo.DepartmentVo;
import com.medical.admin.hospital.common.vo.PageVo;

import java.util.List;

public interface DepartmentService {
    DepartmentVo showDepartments(Long parentId);

    PageVo<DepartmentVo> list(String departmentName,int pageNum, int pageSize);

    Integer insert(DepartmentDto departmentDto);

    Integer update(DepartmentDto departmentDto);

    Integer delete(Long departmentId);

    DepartmentVo select(Long departmentId);

    List<DepartmentVo> showParent();

}
